<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Swdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-swdate" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[swdate]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wh" class="form-control" name="row[wh]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fwdw')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fwdw" class="form-control" name="row[fwdw]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sxdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sxdate" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[sxdate]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gqdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gqdate" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[gqdate]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jy')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-jy" class="form-control " rows="5" name="row[jy]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wjfiles')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-wjfiles" class="form-control" size="50" name="row[wjfiles]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-wjfiles" class="btn btn-danger faupload" data-input-id="c-wjfiles" data-multiple="true" data-preview-id="p-wjfiles"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-wjfiles" class="btn btn-primary fachoose" data-input-id="c-wjfiles" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-wjfiles"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-wjfiles"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>